package com.yi.apipassenger.remote;

import com.yi.internalcommon.dto.ResponseResult;
import com.yi.internalcommon.request.ForecastPriceDTO;
import com.yi.internalcommon.responese.ForecastPriceResponse;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

@FeignClient("service-price")
public interface ServicePriceClient {

     @PostMapping("/forecast-price")
      ResponseResult<ForecastPriceResponse> forecastPrice(@RequestBody ForecastPriceDTO forecastPriceDTO);

}
